﻿using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.ComponentModel.Design;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;

namespace WorkflowFramework
{
    /// <summary>
    /// 注册工作流
    /// </summary>
    public static class WorkFlowExtensions
    {
        public static IServiceCollection AddWorkFlow(this IServiceCollection services)
        {
            services.AddScoped<IWorkFlowBuilder, WorkFlowBuilder>();


            return services;
        }
    }
}
